package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.LeaveOfficeProject;

/**
 * @author wxn
 * @since 13-4-26 23:22
 *
 * 离职项目Service
 */
public interface LeaveOfficeProjectService {
    void save(LeaveOfficeProject project)throws Exception;

    LeaveOfficeProject get(Long id)throws Exception;

    boolean delete(String ids)throws Exception;

    boolean delete(Long id)throws Exception;

    LimitedList<LeaveOfficeProject> findByTopOrganization(Long organizationId, Limit limit, Sorter sorter)throws Exception;
}
